<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>EOS.IO: eosio::uint128 Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="eos-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EOS.IO
   &#160;<span id="projectnumber">DAWN1.1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceeos.html">eos</a></li><li class="navelem"><a class="el" href="structeos_1_1uint128.html">uint128</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="structeos_1_1uint128-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">eosio::uint128 Struct Reference<div class="ingroups"><a class="el" href="group__contractdev.html">How To Write Contracts</a> &raquo; <a class="el" href="group__mathapi.html">Math API</a> &raquo; <a class="el" href="group__mathcppapi.html">Math C++ API</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>A struct that wraps <a class="el" href="structeos_1_1uint128.html" title="A struct that wraps uint128 integer and defines common operator overloads. ">uint128</a> integer and defines common operator overloads.  
</p>

<p><code>#include &lt;<a class="el" href="math_8hpp_source.html">math.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac5b25181f69351ed0785e8a5df44b9d1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeos_1_1uint128.html#ac5b25181f69351ed0785e8a5df44b9d1">uint128</a> (<a class="el" href="group__types.html#ga396787e5ec029b1205bd3e4cd9763e7d">uint128_t</a> i=0)</td></tr>
<tr class="separator:ac5b25181f69351ed0785e8a5df44b9d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4763a690d6102d21ad203d59213d2da1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeos_1_1uint128.html#a4763a690d6102d21ad203d59213d2da1">uint128</a> (<a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> i)</td></tr>
<tr class="separator:a4763a690d6102d21ad203d59213d2da1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a911afb9d70b5eba4f6ec331185891cbc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeos_1_1uint128.html#a911afb9d70b5eba4f6ec331185891cbc">uint128</a> (<a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> i)</td></tr>
<tr class="separator:a911afb9d70b5eba4f6ec331185891cbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8d57afaf0502b47c8ac41233d89c569"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structeos_1_1uint128.html">uint128</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeos_1_1uint128.html#ae8d57afaf0502b47c8ac41233d89c569">operator*=</a> (const <a class="el" href="group__types.html#ga396787e5ec029b1205bd3e4cd9763e7d">uint128_t</a> &amp;other)</td></tr>
<tr class="separator:ae8d57afaf0502b47c8ac41233d89c569"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada42f9d84627e4adf00223f358c7fea9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structeos_1_1uint128.html">uint128</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeos_1_1uint128.html#ada42f9d84627e4adf00223f358c7fea9">operator*=</a> (const <a class="el" href="structeos_1_1uint128.html">uint128</a> &amp;other)</td></tr>
<tr class="separator:ada42f9d84627e4adf00223f358c7fea9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06e6004ec5fbff36e58c029621cc56b9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structeos_1_1uint128.html">uint128</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeos_1_1uint128.html#a06e6004ec5fbff36e58c029621cc56b9">operator/=</a> (const <a class="el" href="group__types.html#ga396787e5ec029b1205bd3e4cd9763e7d">uint128_t</a> &amp;other)</td></tr>
<tr class="separator:a06e6004ec5fbff36e58c029621cc56b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a206b11960fbca128af563bdc57e8d573"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structeos_1_1uint128.html">uint128</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeos_1_1uint128.html#a206b11960fbca128af563bdc57e8d573">operator/=</a> (const <a class="el" href="structeos_1_1uint128.html">uint128</a> &amp;other)</td></tr>
<tr class="separator:a206b11960fbca128af563bdc57e8d573"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42c6390eb938c1025e8a4590079a3912"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeos_1_1uint128.html#a42c6390eb938c1025e8a4590079a3912">operator uint64_t</a> () const </td></tr>
<tr class="separator:a42c6390eb938c1025e8a4590079a3912"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a35a742a797ca726ab2c74b8008479427"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structeos_1_1uint128.html">uint128</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeos_1_1uint128.html#a35a742a797ca726ab2c74b8008479427">operator*</a> (<a class="el" href="structeos_1_1uint128.html">uint128</a> a, const <a class="el" href="structeos_1_1uint128.html">uint128</a> &amp;b)</td></tr>
<tr class="separator:a35a742a797ca726ab2c74b8008479427"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91483b24e056b89304858c45a26eb75c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structeos_1_1uint128.html">uint128</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeos_1_1uint128.html#a91483b24e056b89304858c45a26eb75c">operator/</a> (<a class="el" href="structeos_1_1uint128.html">uint128</a> a, const <a class="el" href="structeos_1_1uint128.html">uint128</a> &amp;b)</td></tr>
<tr class="separator:a91483b24e056b89304858c45a26eb75c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83f2d787236426424fe4b36ef7dea6ac"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeos_1_1uint128.html#a83f2d787236426424fe4b36ef7dea6ac">operator&lt;=</a> (const <a class="el" href="structeos_1_1uint128.html">uint128</a> &amp;a, const <a class="el" href="structeos_1_1uint128.html">uint128</a> &amp;b)</td></tr>
<tr class="separator:a83f2d787236426424fe4b36ef7dea6ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c839778f4a9713eb58fb8f0305bc53e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeos_1_1uint128.html#a6c839778f4a9713eb58fb8f0305bc53e">operator&gt;=</a> (const <a class="el" href="structeos_1_1uint128.html">uint128</a> &amp;a, const <a class="el" href="structeos_1_1uint128.html">uint128</a> &amp;b)</td></tr>
<tr class="separator:a6c839778f4a9713eb58fb8f0305bc53e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ac5b25181f69351ed0785e8a5df44b9d1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">eosio::uint128::uint128 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__types.html#ga396787e5ec029b1205bd3e4cd9763e7d">uint128_t</a>&#160;</td>
          <td class="paramname"><em>i</em> = <code>0</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a4763a690d6102d21ad203d59213d2da1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">eosio::uint128::uint128 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a>&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a911afb9d70b5eba4f6ec331185891cbc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">eosio::uint128::uint128 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a42c6390eb938c1025e8a4590079a3912"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">eosio::uint128::operator <a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ae8d57afaf0502b47c8ac41233d89c569"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeos_1_1uint128.html">uint128</a>&amp; eosio::uint128::operator*= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="group__types.html#ga396787e5ec029b1205bd3e4cd9763e7d">uint128_t</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ada42f9d84627e4adf00223f358c7fea9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeos_1_1uint128.html">uint128</a>&amp; eosio::uint128::operator*= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeos_1_1uint128.html">uint128</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a06e6004ec5fbff36e58c029621cc56b9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeos_1_1uint128.html">uint128</a>&amp; eosio::uint128::operator/= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="group__types.html#ga396787e5ec029b1205bd3e4cd9763e7d">uint128_t</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a206b11960fbca128af563bdc57e8d573"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeos_1_1uint128.html">uint128</a>&amp; eosio::uint128::operator/= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeos_1_1uint128.html">uint128</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="a35a742a797ca726ab2c74b8008479427"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeos_1_1uint128.html">uint128</a> operator* </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structeos_1_1uint128.html">uint128</a>&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structeos_1_1uint128.html">uint128</a> &amp;&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a91483b24e056b89304858c45a26eb75c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeos_1_1uint128.html">uint128</a> operator/ </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structeos_1_1uint128.html">uint128</a>&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structeos_1_1uint128.html">uint128</a> &amp;&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a83f2d787236426424fe4b36ef7dea6ac"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool operator&lt;= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeos_1_1uint128.html">uint128</a> &amp;&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structeos_1_1uint128.html">uint128</a> &amp;&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a6c839778f4a9713eb58fb8f0305bc53e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool operator&gt;= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeos_1_1uint128.html">uint128</a> &amp;&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structeos_1_1uint128.html">uint128</a> &amp;&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>contracts/eoslib/<a class="el" href="math_8hpp_source.html">math.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
